home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
2all.zip
/
2ALL.DOC
< prev
next >
Wrap
Text File
|
1990-02-06
|
7KB
|
171 lines
┌──────────────────────────────┐
│ 2all v2.10 ├┐
│The Ultimate Archive Converter││
│ Doug Martin ││
└┬─────────────────────────────┘│
└──────────────────────────────┘
-OVERVIEW
Anyone who has been telecommunicating for any amount
of time knows about the archiver wars. You have your
favorite archiver and maybe your favorite isn't big
with your local SysOp. So you do like everyone, you
toast your SysOp's hard drives downloading 8 gigabytes
of files (and you send one, of course) then you curse
under your breath and type until your fingers bleed
converting each one to the format you like.
- OR -
You run 2all.
2all will take all the archived files in a directory
and convert them to any archive format you want, stamp
each one with the original archive's date, and if you
like, delete the original file.
-INSTALLATION
1) You must have the archiving programs you want to
use in your DOS path.
2) You must either have the configuration file
(2all.Cfg) in the current directory or let 2all
know where to find the config file by entering
set 2all=DRIVE:DIRECTORY at the DOS prompt or in
your AutoExec.Bat
DRIVE:DIRECTORY is the drive and directory where 2all.cfg
is stored.
-THE CONFIGURATION FILE <2all.cfg>
The configuration file is where 2all gets it's
information on using the different archivers.
If you look at 2all.cfg, included in this archive,
you'll notice that it's nothing more than a simple
text file containing information about the archivers
you may want to use.
ZIP
pkzip -ex
pkunzip
PAK
pak a
pak e
LZH
lharc a
lharc e
ARC
pkpak -a
pkunpak -e
ZOO
zoo a
zoo e
Although I only use four here, you can specify up to
25 archiving programs in all.
The archive extension MUST start at line 1, column 1 or
2all will not run. The format of the file is:
1) extension of archiver. <CAPITALIZE!!!>
2) command line for creating an archive
3) command line for extracting an archive
Not that the indentation is not required, I just did
it to make it easier to read, it will work either way.
*note that these are just my examples, 2all will work
with any archiver and should be completely compatible
with future archivers.
-USAGE
To use 2all, just go to the directory you want to
convert files in and type:
2all [fmask|E(ext)|A(ext)|update] [A(ext)] [/s] <enter>
fmask = Valid DOS filename, wildcards are ok.
E(ext) = extension of archive to convert from.
A(ext) = extension of archive to convert to.
update = special function for updating archives.
/s or /S = tells 2all to save the original file
EXAMPLES
2all zip : convert all archives to the pkzip format.
2all zip /s : same as above, but don't delete the original files.
2all zip pak : convert all ZIPfiles to PAK format.
2all zip pak /s : same as above, but don't delete original ZIP files.
2all foobar.zip arc : convert foobar.zip to foobar.arc, delete foobar.arc.
2all f*.zip arc /s : covert zip files that begin with 'F'. Leave zip files.
2all update zip : rearchive all zip files. Use when a new version of
an archiver comes out that has better compression.
(you cannot use '/s' switch with 'update')
!!! Notes !!!
When specifying a filemask, wildcards can be used, but the
extension MUST be specified.
Unless you use the '/s' switch, the original archives WILL be
deleted
2all will then search for files and call up the
respective programs. New files are then stamped with the
date of the old file, so there is no need to use any date
stamping switches that your archiver may have. After it
finishes, it will give you a message telling you how many
files were converted and how much disk space was saved or lost.
2all returns a DOS errorlevel of 0 if successful and 1
if there are any problems.
If there is an error, 2all will inform you of the problem,
and let you know how many, if any, files were successfully
converted.
-WRAP-UP
2all is was written in Turbo Pascal v5.5 under
MS-DOS v3.30 using a 12mhz 80286 and listening to
'Red Hot Chili Peppers'.
M&Ms and orange juice also helped.
For bug reports, or comments I can be reached at:
The Barrington BBS (603) 335-5460, 3/12/24bps 24hrs.
SysOp : Al Wheeler
2all can be registered for the modest fee of $10,000.00
for which you'll get the latest version on disk...
...or you can just download it from your favorite BBS and
use it for free. Whatever's easiest for you.
This program may be copied and distributed freely as
long as it is distributed unchanged and in it's entirety.
As such, the author makes no warranty, actual or implied,
for damage, loss of data, rare tropical diseases or
this S&L bailout jazz.
-Doug Martin
Somersworth, NH
-CREDITS
These folks wrote some of the fantastic archiving
programs that made this program possible/necessary.
LHarc...........Haruyasu Yoshizaki
Pkzip/Pkunzip
Pkpak/Pkunpak...Phil Katz/PKware
PAK.............NoGate Consulting
Zoo.............Rahul Dhesi